package com.demo.di.complex;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.GenericXmlApplicationContext;

/**
 * 描述：
 *
 * @author lida
 * @time 2019/10/11 16:42+
 */
public class ComplexInjectMainApplication {

	public static void main(String[] args) {
		GenericXmlApplicationContext ac = new GenericXmlApplicationContext();
		ac.load("classpath:/com/demo/di/complex/complexInject.xml");
		ac.refresh();

		ComplexInject ci = ac.getBean("complexInject",ComplexInject.class);
		ci.prtValues();
	}
}
